from django.shortcuts import render
from django.views.generic import View
from django.http import HttpResponse
import json

from user.models import User
from message.models import Message
from wedding_info.models import Wedding_Info

# Create your views here.


class TestView(View):
    def get(self, request):
        user = User()
        # user.open_id = '123fdasf'
        # user.save()
        # wedding = Wedding_Info()
        # wedding.save()
        message = Message()
        message.save()

        return HttpResponse(1)